#ifndef DATE_RESTRICTION
#define DATE_RESTRICTION

#include "restrictionlayout.hpp"
#include <QDate>

class DateRestriction:public RestrictionLayout {
	Q_OBJECT

	private:
		QPushButton *qpbdate;
	public:
		DateRestriction(int);
		~DateRestriction();
		QDate getDate();
	public slots:
		void dateDialog();
		void dateClicked(const QDate &);
};

#endif
